package io.renren.service;

import io.renren.common.service.CrudService;
import io.renren.dto.RepairquotationmDTO;
import io.renren.dto.ReservationDto;
import io.renren.dto.repon.RepairquotationmRepon;
import io.renren.entity.RepairquotationmEntity;

import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author Sen 524227263@qq.com
 * @since 1.0.0 2024-05-28
 */
public interface RepairquotationmService extends CrudService<RepairquotationmEntity, RepairquotationmDTO> {

    List<RepairquotationmRepon> selectListByIsCustomerConfirm(String traderMOID, String type);

    RepairquotationmEntity findOneByRepairQuotationMOID(String repairQuotationMOID);

    void quotationConfirm(String traderMOID, String repairQuotationMOID);

    void reservation(String traderMOID, ReservationDto dto);
}